package com.cgws.fintech.inner.business.customer.swagger.handler;

import com.example.victory.swagger.model.ApiRequestGetGroupOfOrg;
import com.example.victory.swagger.model.ApiRequestGetMemberInGroup;
import com.example.victory.swagger.model.ApiRequestInfoOfMemberInGroup;
import com.example.victory.swagger.model.ApiRequestInfoOfOrgGroup;
import com.example.victory.swagger.model.ApiResponseGetGroupOfOrg;
import com.example.victory.swagger.model.ApiResponseGetMemberInGroup;
import com.example.victory.swagger.model.ApiResponseInfoOfMemberInGroup;
import com.example.victory.swagger.model.ApiResponseInfoOfOrgGroup;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

@Controller
public class AppStaffGroupApiController implements AppStaffGroupApi {

    private final AppStaffGroupApiDelegate delegate;

    @org.springframework.beans.factory.annotation.Autowired
    public AppStaffGroupApiController(AppStaffGroupApiDelegate delegate) {
        this.delegate = delegate;
    }
    public ResponseEntity<ApiResponseGetGroupOfOrg> getGroupOfOrg(@ApiParam(value = "请求参数" ,required=true )  @Valid @RequestBody ApiRequestGetGroupOfOrg param) {
        return delegate.getGroupOfOrg(param);
    }

    public ResponseEntity<ApiResponseGetMemberInGroup> getMemberInGroup(@ApiParam(value = "请求参数" ,required=true )  @Valid @RequestBody ApiRequestGetMemberInGroup param) {
        return delegate.getMemberInGroup(param);
    }

    public ResponseEntity<ApiResponseInfoOfMemberInGroup> infoOfMemberInGroup(@ApiParam(value = "请求参数" ,required=true )  @Valid @RequestBody ApiRequestInfoOfMemberInGroup param) {
        return delegate.infoOfMemberInGroup(param);
    }

    public ResponseEntity<ApiResponseInfoOfOrgGroup> infoOfOrgGroup(@ApiParam(value = "请求参数" ,required=true )  @Valid @RequestBody ApiRequestInfoOfOrgGroup param) {
        return delegate.infoOfOrgGroup(param);
    }

}
